package com.ylbh.common.pojo.goodsorder.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.Api;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Api("商城订单导出")
public class OrderExcelVO implements Serializable {

    @Excel(name = "商品名称", orderNum = "0")
    private String goodsName;

    @Excel(name = "货号", orderNum = "1")
    private String goodsSerial;

    @Excel(name = "商品数量", orderNum = "2")
    private Integer count;

    @Excel(name = "规格", orderNum = "3")
    private String specInfo;

    @Excel(name = "下单时间", exportFormat = "yyyy-MM-dd HH:mm:ss", orderNum = "4")
    private Date payTime;

    @Excel(name = "订单编号", orderNum = "5")
    private String orderId;

    private String deliveryAddress;

    @Excel(name = "收货姓名", orderNum = "6")
    private String name;

    @Excel(name = "收货人电话", orderNum = "7")
    private String phone;

    @Excel(name = "收货人地址", orderNum = "8")
    private String address;

    @Excel(name = "订单类型",replace = {"普通订单_1, 活动抢购订单_2, 购物车订单_3, 采购订单_4"}, orderNum = "9")
    private String invoiceType;

    @Excel(name = "购买者名称", orderNum = "10")
    private String trueName;

    @Excel(name = "购买者账号", orderNum = "11")
    private String userName;

    @Excel(name = "购买者类型", orderNum = "12")
    private String typeName;

//    @Excel(name = "购买者类型", orderNum = "13")
//    private Integer priceType;

//    @Excel(name = "商品类型", replace = {"纯现金_0, 兑换商品_1, 福利商品_2"}, orderNum = "13")
    @Excel(name = "订单类型", orderNum = "13")
//    private String goodsType;
    private String priceType;

    @Excel(name = "订单金额", orderNum = "14")
    private String goodsAmount;

    @Excel(name = "消耗券数量", orderNum = "15")
    private Integer consumeIntegral;

    @Excel(name = "赠送券数量", orderNum = "16")
    private Integer integral;

    @Excel(name = "运费", orderNum = "17")
    private BigDecimal shipPrice;

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getInvoiceType() {
        return invoiceType;
    }

    public void setInvoiceType(String invoiceType) {
        this.invoiceType = invoiceType;
    }

    public String getGoodsSerial() {
        return goodsSerial;
    }

    public void setGoodsSerial(String goodsSerial) {
        this.goodsSerial = goodsSerial;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getSpecInfo() {
        return specInfo;
    }

    public void setSpecInfo(String specInfo) {
        this.specInfo = specInfo;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getDeliveryAddress() {
        return deliveryAddress;
    }

    public void setDeliveryAddress(String deliveryAddress) {
        this.deliveryAddress = deliveryAddress;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getGoodsAmount() {
        return goodsAmount;
    }

    public void setGoodsAmount(String goodsAmount) {
        this.goodsAmount = goodsAmount;
    }

    public String getTrueName() {
        return trueName;
    }

    public void setTrueName(String trueName) {
        this.trueName = trueName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getPriceType() {
        return priceType;
    }

    public void setPriceType(String priceType) {
        this.priceType = priceType;
    }

    public Integer getIntegral() {
        return integral;
    }

    public void setIntegral(Integer integral) {
        this.integral = integral;
    }

    public BigDecimal getShipPrice() {
        return shipPrice;
    }

    public void setShipPrice(BigDecimal shipPrice) {
        this.shipPrice = shipPrice;
    }

    public Integer getConsumeIntegral() {
        return consumeIntegral;
    }

    public void setConsumeIntegral(Integer consumeIntegral) {
        this.consumeIntegral = consumeIntegral;
    }
}
